package com.recharge.domain.vo;

import com.recharge.common.domain.BaseDO;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;

/**
 * <h1>描述: 商户信息对象</h1>
 * @author kui
 * @date 2020/8/25 15:30
 */
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
public class MerchantAccountDO extends BaseDO {

    private String id;

    /**
     * 账户号
     */
    private String accountNo;

    /**
     * 余额
     */
    private Long balance;

    /**
     * 信用款
     */
    private Long credit;

    /**
     * 保证金
     */
    private Long earnestMoney;

    /**
     * 待还款金额
     */
    private Long noAmount;

    /**
     * 最后存入金额
     */
    private Long lastDeposit;

    /**
     * 最后提现金额
     */
    private Long lastWithdraw;

    /**
     * 最后存款日期
     */
    private Date lastDepositDate;

    /**
     * 最后提现时间
     */
    private Date lastWithdrawDate;

    private Date createDate;

    private Date modifiDate;

    private String creator;

    private String modifier;

    /**
     * 0.冻结1.解冻\n            \n
     */
    private Integer status;

    /**
     * -1 删除 1 有效\n
     */
    private Integer isDelete;


    @Override
    public String toString() {
        return "MerchantAccountDO{" +
                "id='" + id + '\'' +
                ", accountNo='" + accountNo + '\'' +
                ", balance=" + balance +
                ", credit=" + credit +
                ", earnestMoney=" + earnestMoney +
                ", lastDeposit=" + lastDeposit +
                ", lastWithdraw=" + lastWithdraw +
                ", lastDepositDate=" + lastDepositDate +
                ", lastWithdrawDate=" + lastWithdrawDate +
                ", createDate=" + createDate +
                ", modifiDate=" + modifiDate +
                ", creator='" + creator + '\'' +
                ", modifier='" + modifier + '\'' +
                ", status=" + status +
                ", isDelete=" + isDelete +
                '}';
    }
}
